
import { get } from '../../request/http'
import request from '../../request/http'
export default {
  namespaced: true,
  state: {
    name: 'ac',
    list: null
  },
  actions: {
    fetchData(context) {
      get(
        '/article/query?id=1'
      //  method: 'get',
      //  params
      ).then((msg) => {
        console.log(msg)
        context.state.list = msg.data
      })
    }
  }

}
